:root {
    --bg-color: #000000;
    --second-bg-color: #111111;
    --text-color: #fff;
    /* --main-color: rgb(173, 73, 225); */
    --main-color: rgb(200, 0, 54);
    /* --main-color: rgb(160, 35, 52); */
}






.gallery-container1,
.gallery-container2 {

    display: flex;
    flex-wrap: wrap;

    margin-top: 20px;
    gap: 60px;
    margin-left: 10%;
}



.photo-gallery {
    width: 200px;
    height: 200px;
    border: 2px solid;
    border-color: var(--main-color);
    border-radius: 15px;

}







.photo-gallery img {
    border-radius: 15px
}




.carousel-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 550px;
    margin: auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 600px;
    /* box-sizing: border-box; */
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 100;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



.gallery-box h2 {

    margin-bottom: 50px;
}




















/* BreakPoint */

@media (max-width:1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width:991px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all 0.5s ease;
    }

    .navbar a {
        display: block;
        padding: 17px;
        font-size: 22px;
    }

    .navbar.active {
        right: 0;
    }

    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3%;
    }

    .services {
        padding: 7rem
    }

    .about-content h2 {
        margin-top: 2rem;
        text-align: center;
        font-size: 5rem;
    }

    .review .wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer {
        padding: 40px 0;
    }


    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width:786px) {
    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 4.5rem;
        margin-top: 1.5rem;
    }

    .home-content h1 {
        font-size: 5rem;
        margin-top: 1.5rem;
    }

    .home-content {
        order: 2;
    }

    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .about {
        flex-direction: column;
    }

    .about-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width:617px) {

    .photo-gallery {
        width: 250px;
        height: 250px;


    }

    * {
        animation: none !important;
        transition: none !important;
    }


    .gallery-container1,
    .gallery-container2 {

        display: flex;
        flex-wrap: wrap;

        margin-top: 20px;
        gap: 60px;

    }





}

@media (max-width:450px) {
    html {
        font-size: 50%;
    }

    .counter-wrapper {
        display: flex;
        gap: 2rem;
    }

    .carousel-container {
        position: relative;
        width: 90%;
        max-width: 650px;
        height: 550px;
        margin: auto;
        overflow: hidden;
    }


}








@keyframes tonext {
    75% {
        left: 0;
    }

    95% {
        left: 100%;
    }

    98% {
        left: 100%;
    }

    99% {
        left: 0;
    }
}

@keyframes tostart {
    75% {
        left: 0;
    }

    95% {
        left: -300%;
    }

    98% {
        left: -300%;
    }

    99% {
        left: 0;
    }
}

@keyframes snap {
    96% {
        scroll-snap-align: center;
    }

    97% {
        scroll-snap-align: none;
    }

    99% {
        scroll-snap-align: none;
    }

    100% {
        scroll-snap-align: center;
    }
}